Skip to content

Route the Voxtype model picker to the install flow when voxtype is missing - #8631

Open
alexandru-savinov wants to merge 1 commit into
omacom:quattrofrom
alexandru-savinov:guard-voxtype-model-when-missing
Open

Route the Voxtype model picker to the install flow when voxtype is missing#8631
alexandru-savinov wants to merge 1 commit into
omacom:quattrofrom
alexandru-savinov:guard-voxtype-model-when-missing

Conversation

@alexandru-savinov

Copy link
Copy Markdown

Follow-up to #6832, which guards omarchy-voxtype-config but leaves the sibling command unguarded.

omarchy-voxtype-model opens the model picker unconditionally:

omarchy-launch-floating-terminal-with-presentation "voxtype setup model"

Voxtype is optional, so this is reachable before it is installed — omarchy voxtype model then pops a floating terminal containing nothing but the failure:

bash: line 1: voxtype: command not found

● Done! Press any key to close...

This is the same shape as #6823, and the same remedy: when voxtype is missing, route to the install flow instead, so the command that was meant to configure dictation offers to install it.

That path is easy to reach right now on any non-x86_64 machine, where voxtype-bin cannot install at all (#8530, and the source-build fallback in #8316). I hit it on aarch64 — the manual points users at voxtype setup model for changing models, so a user following the manual on a machine where the installer silently failed lands here.

Notes

Tests

Adds test/shell.d/voxtype-model-test.sh, covering both branches. Presence is stubbed rather than probed so the branch under test doesn't depend on whether the developer's own machine has Voxtype installed. Verified it fails against the unpatched script.

./test/all: test/cli passes; test/shell passes 202/207. The 5 failures (bar-icon-geometry, config, snapper, theme-install-guards, unowned-system-paths) reproduce identically on a clean checkout of quattro on this machine and are unrelated to this change.

Copilot AI balanced review requested due to automatic review settings August 27, 2026 17:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Routes the Voxtype model command to installation when Voxtype is unavailable.

Changes:

  • Adds the missing-command guard and preserves shell restart behavior after model selection.
  • Adds tests covering installed and missing Voxtype paths.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
bin/omarchy-voxtype-model Routes missing Voxtype to its installer.
test/shell.d/voxtype-model-test.sh Tests both command branches.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants